(auto-mode-alist): Add an entry for antlr-mode.
authorGerd Moellmann <gerd@gnu.org>
Wed, 29 Nov 2000 16:48:40 +0000 (16:48 +0000)
committerGerd Moellmann <gerd@gnu.org>
Wed, 29 Nov 2000 16:48:40 +0000 (16:48 +0000)
lisp/files.el

index d721042ce2bb96d555f57040656cc087e352fa92..973f7bc9de0d9c2cb50c5ede3bdc77edf40c0a6b 100644 (file)
@@ -1458,7 +1458,8 @@ in that case, this function acts as if `enable-local-variables' were t."
 ;;; The following should come after the ChangeLog pattern
 ;;; for the sake of ChangeLog.1, etc.
 ;;; and after the .scm.[0-9] and CVS' <file>.<rev> patterns too.
-     ("\\.[12345678]\\'" . nroff-mode)))
+     ("\\.[12345678]\\'" . nroff-mode)
+     ("\\.g\\'" . antlr-mode)))
   "Alist of filename patterns vs corresponding major mode functions.
 Each element looks like (REGEXP . FUNCTION) or (REGEXP FUNCTION NON-NIL).
 \(NON-NIL stands for anything that is not nil; the value does not matter.)